package com.cloudfun.campusshare.common.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * Created by Huqin on 2020/5/11
 */
@Data
@ApiModel("设备模式集修改DTO")
public class DeviceModeSetModifyDTO extends BaseDeviceModeSetDTO {

    @ApiModelProperty("id")
    @NotEmpty(message = "id不能为空")
    private String id;

    @ApiModelProperty("模式")
    private List<DeviceModeModifyDTO> modes;

}
